package com.wing.product.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.common.utils.JsonResult;
import com.wing.product.model.entity.WarehouseOutboundOrder;
import com.wing.product.model.response.WarehouseOutboundOrderVO;

import java.util.List;
import java.util.Map;

public interface WarehouseOutboundOrderService extends IService<WarehouseOutboundOrder> {

    Page<WarehouseOutboundOrderVO> pageList4app(Page page, Map<String, Object> params);

    WarehouseOutboundOrderVO selectOrderDetail(String id);

    JsonResult saveWarehouseOutboundOrder(WarehouseOutboundOrderVO warehouseOutboundOrderVO);

    JsonResult<Map<Object, Object>> selectOutboundOrderTrend();

    JsonResult updateOutboundOrder(String id, String status);

    WarehouseOutboundOrderVO selectOrderDetailRecord(String id);
}
